<template>
	<view class="clinical_recruitment">
		<web-header :select_name="'clinical_recruitment'"></web-header>

		<view class="content_template">
			<view class="content_left" style="">
				<view class="h5_content">
					<!-- 标题模板 -->
					<view class="header_title">
						<view class="header">
							<view class="title">临床招募-介绍</view>
							<!-- <image src="/static/2.1/btn_more.png"></image> -->
						</view>
						<view class="line"></view>
					</view>
					<view class="article_info h5_padding">
						<!-- 热门资讯模板 -->
						<view class="title_name">
							{{details.title}}
						</view>
						<view class="content">

							<view v-html="details.content"></view>

							<view class="  createDate">{{details.createDate}} </view>
						</view>
					</view>
				</view>
			</view>
			<view class="content_right">
				<filtrate-card></filtrate-card>
			</view>

		</view>
		<!-- <view class="title">
			{{details.title}}
		</view>
		
		<view class="content" >
			<view class=" back_btn" @click="back()"> 返回上级</view>
			 <view v-html="details.content"></view>
			 
			 <view class="  createDate">{{details.createDate}} </view>
		</view> -->


		<web-foot></web-foot>
	</view>
</template>

<script>
	import web_header from '@/components/web-header.vue'
	import web_foot from '@/components/web-foot.vue'
	//右侧筛选卡片
	import filtrate_card from '@/components/filtrate_card.vue'

	export default {

		components: {
			'web-header': web_header,
			'web-foot': web_foot,
			'filtrate-card': filtrate_card

		},
		data() {
			return {
				details: {}
			}
		},
		onLoad(e) {
			this.id = e.id
			this.detail()
		},
		methods: {
			back() {
				uni.navigateBack({

				})
			},
			//详情
			detail() {
				this.service("/website/getClinicalRecruitment", 'get', {
					id: this.id
				}).then(res => {
					this.details = res.data
					uni.report('title', res.data.title)
					uni.setNavigationBarTitle({
						title: res.data.title
					})
				})
			},

		}
	}
</script>

<style>

</style>
